<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>IntelliJ IDEA🍊下载及基本配置 | 小李博客</title><meta name="keywords" content="IntelliJ IDEA"><meta name="author" content="小李博客"><meta name="copyright" content="小李博客"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="IntelliJ IDEA介绍 IntelliJ IDEA 是 java语言开发的集成环境，在业界被公认为最好的 java开发工具之一，尤其在智能代码助手、代码自动提示、重构、J2EE支持、各类版本工具（git、svn等）、JUnit、CVS整合、代码分析、 创新的 GUI设计等方面的功能可以说是超常的 下面就以ideaIU-2020.3.2版64 位的 IntelliJ IDEA Ultimat">
<meta property="og:type" content="article">
<meta property="og:title" content="IntelliJ IDEA🍊下载及基本配置">
<meta property="og:url" content="http://xiaoliblog.cn/page/idea01.html">
<meta property="og:site_name" content="小李博客">
<meta property="og:description" content="IntelliJ IDEA介绍 IntelliJ IDEA 是 java语言开发的集成环境，在业界被公认为最好的 java开发工具之一，尤其在智能代码助手、代码自动提示、重构、J2EE支持、各类版本工具（git、svn等）、JUnit、CVS整合、代码分析、 创新的 GUI设计等方面的功能可以说是超常的 下面就以ideaIU-2020.3.2版64 位的 IntelliJ IDEA Ultimat">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://cdn.jsdelivr.net/gh/xiaoliblog/image@d94fb87b2ae7e29ffade657a1c1c59e207cd818f/2021/03/08/92b74a95896922b1eed052eb3f7dfbbb.png">
<meta property="article:published_time" content="2021-03-01T16:00:00.000Z">
<meta property="article:modified_time" content="2021-04-14T09:42:21.596Z">
<meta property="article:author" content="小李博客">
<meta property="article:tag" content="IntelliJ IDEA">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://cdn.jsdelivr.net/gh/xiaoliblog/image@d94fb87b2ae7e29ffade657a1c1c59e207cd818f/2021/03/08/92b74a95896922b1eed052eb3f7dfbbb.png"><link rel="shortcut icon" href="https://cdn.jsdelivr.net/gh/xiaoliblog/image@6b5e7ef72be1c8973d94e5a9c49accbf775ad820/2021/02/01/c485da031fe0e464d04eaba8a66c4a8f.png"><link rel="canonical" href="http://xiaoliblog.cn/page/idea01"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.10.5/dist/instantsearch.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/instantsearch.js@2.10.5/dist/instantsearch.min.js" defer></script><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: {"appId":"RTG4CPNBLJ","apiKey":"f1745bdad68ceec57653b78244fe332c","indexName":"MyBlogIndex","hits":{"per_page":6},"languages":{"input_placeholder":"搜索文章","hits_empty":"找不到您查询的内容：${query}","hits_stats":"找到 ${hits} 条结果，用时 ${time} 毫秒"}},
  localSearch: undefined,
  translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"},
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":200},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '天',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: {"limitCount":100,"languages":{"author":"作者: 小李博客","link":"链接: ","source":"来源: 小李博客","info":"著作权归作者所有。商业转载请联系作者获得授权，非商业转载请注明出处。"}},
  lightbox: 'mediumZoom',
  Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#121212","position":"top-center"},
  source: {
    jQuery: 'https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js',
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/js/jquery.justifiedGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/css/justifiedGallery.min.css'
    },
    fancybox: {
      js: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js',
      css: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isanchor: true
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = { 
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: true,
  postUpdate: '2021-04-14 17:42:21'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const fontSizeVal = saveToLocal.get('global-font-size')
    if (fontSizeVal !== undefined) {
      document.documentElement.style.setProperty('--global-font-size', fontSizeVal + 'px')
    }
    })(window)</script><link rel="stylesheet" href="/css/MyStyle/MyStyle.css" media="defer" onload="this.media='all'"/><link rel="stylesheet" href="/css/MyStyle/tagStyle.css" media="defer" onload="this.media='all'"/><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/zykjofficial/zykjresource@master/css/font-awesome-animation.min.css" media="defer" onload="this.media='all'"/><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/sviptzk/StaticFile_HEXO@latest/butterfly/css/font-awesome-animation.min.css" media="defer" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/sviptzk/StaticFile_HEXO@latest/butterfly/css/plugins.min.css" media="defer" onload="this.media='all'"><meta name="generator" content="Hexo 5.2.0"><link rel="alternate" href="/atom.xml" title="小李博客" type="application/atom+xml">
</head><body><div id="web_bg"></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="author-avatar"><img class="avatar-img" src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@6b5e7ef72be1c8973d94e5a9c49accbf775ad820/2021/02/01/c485da031fe0e464d04eaba8a66c4a8f.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data"><div class="data-item is-center"><div class="data-item-link"><a href="/archives/"><div class="headline">文章</div><div class="length-num">210</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/tags/"><div class="headline">标签</div><div class="length-num">38</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/categories/"><div class="headline">分类</div><div class="length-num">56</div></a></div></div></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/box/"><i class="fa-fw fa fa-briefcase"></i><span> 工具箱</span></a></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fas fa-book"></i><span> 找文章</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></li><li><a class="site-page child" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></li><li><a class="site-page child" href="/categories/"><i class="fa-fw fa fa-folder-open"></i><span> 分类</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fa fa-address-card"></i><span> 关于</span></a></div><div class="menus_item"><a class="site-page" href="/messageboard/"><i class="fa-fw fa fa-paper-plane"></i><span> 留言</span></a></div></div></div></div><div class="post" id="body-wrap"><header class="not-top-img" id="page-header"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">小李博客</a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/box/"><i class="fa-fw fa fa-briefcase"></i><span> 工具箱</span></a></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fas fa-book"></i><span> 找文章</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></li><li><a class="site-page child" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></li><li><a class="site-page child" href="/categories/"><i class="fa-fw fa fa-folder-open"></i><span> 分类</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fa fa-address-card"></i><span> 关于</span></a></div><div class="menus_item"><a class="site-page" href="/messageboard/"><i class="fa-fw fa fa-paper-plane"></i><span> 留言</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav></header><main class="layout" id="content-inner"><div id="post"><div id="post-info"><h1 class="post-title">IntelliJ IDEA🍊下载及基本配置</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-03-01T16:00:00.000Z" title="发表于 2021-03-02 00:00:00">2021-03-02</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-04-14T09:42:21.596Z" title="更新于 2021-04-14 17:42:21">2021-04-14</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/%E5%B7%A5%E5%85%B7/">工具</a><i class="fas fa-angle-right post-meta-separator"></i><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/%E5%B7%A5%E5%85%B7/IntelliJ-IDEA%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B/">IntelliJ IDEA使用教程</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-wordcount"><i class="far fa-file-word fa-fw post-meta-icon"></i><span class="post-meta-label">字数总计:</span><span class="word-count">2.2k</span><span class="post-meta-separator">|</span><i class="far fa-clock fa-fw post-meta-icon"></i><span class="post-meta-label">阅读时长:</span><span>7分钟</span></span><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" id="" data-flag-title="IntelliJ IDEA🍊下载及基本配置"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"></span></span></div></div></div><article class="post-content" id="article-container"><h1 id="IntelliJ-IDEA介绍"><a href="#IntelliJ-IDEA介绍" class="headerlink" title="IntelliJ IDEA介绍"></a>IntelliJ IDEA介绍</h1><ul>
<li><code>IntelliJ IDEA</code> 是 java语言开发的集成环境，在业界被公认为最好的 java开发工具之一，尤其在智能代码助手、代码自动提示、重构、J2EE支持、各类版本工具（git、svn等）、JUnit、CVS整合、代码分析、 创新的 GUI设计等方面的功能可以说是超常的</li>
<li>下面就以<strong>ideaIU-2020.3.2版64 位</strong>的 IntelliJ IDEA Ultimate Windows版本做详细介绍</li>
<li>参考地址：<a target="_blank" rel="noopener" href="https://www.bilibili.com/video/BV1bJ411P7cQ">https://www.bilibili.com/video/BV1bJ411P7cQ</a></li>
</ul>
<h1 id="IntelliJ-IDEA下载安装"><a href="#IntelliJ-IDEA下载安装" class="headerlink" title="IntelliJ IDEA下载安装"></a>IntelliJ IDEA下载安装</h1><ul>
<li>硬件要求<img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@35be3302e07c4bb87d9ff8609f280446d12f8549/2021/03/11/b5c9194c700e519dbebac0b4764331de.png"></li>
</ul>
<div class="note warning simple"><p>个人建议配置：内存 8G 或以上，CPU 最好 i5 以上，最好安装块固态硬盘(SSD)，将 IDEA安装在固态硬盘上，这样流畅度会加快很多</p>
</div>

<ul>
<li>官方网址下载IEDA：<a target="_blank" rel="noopener" href="https://www.jetbrains.com/idea/download/#section=windows">https://www.jetbrains.com/idea/download/#section=windows</a></li>
<li>官方使用文档：<a target="_blank" rel="noopener" href="https://www.jetbrains.com/help/">https://www.jetbrains.com/help/</a></li>
<li>选择对应系统版本下载；官网上提供了 <strong>Windows</strong>，<strong>macOS</strong> 和 <strong>Linux</strong> 三个操作系统，每个系统都有两个版本可供下载： <strong>Ultimate</strong>和 <strong>Community</strong></li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@852f490c60a19417190e6a46d3b8540ba39ac443/2021/03/11/ae579b56334970b5950b7887a553f99c.png"></p>
<div class="note success simple"><p>Ultimate 为旗舰版；功能全面，插件丰富，但是收费，按年收费；<br>Community 为社区版；免费试用，功能相对而言不是很丰富，但是不影响开发使用。</p>
</div>


<h1 id="目录结构"><a href="#目录结构" class="headerlink" title="目录结构"></a>目录结构</h1><div class="note success simple"><p><a target="_blank" rel="noopener" href="https://blog.csdn.net/jun_422/article/details/88192501">IntelliJ IDEA 的安装、配置与使用</a></p>
</div>

<ul>
<li>安装后的目录结构即用处如下</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@e6a6b5eb37a886d14751ae1da505d11301cd012e/2021/03/11/c9eb69b39acf289f92f91d4efb0f43c2.png"></p>
<h2 id="bin目录及VM配置"><a href="#bin目录及VM配置" class="headerlink" title="bin目录及VM配置"></a>bin目录及VM配置</h2><ul>
<li>其中，<code>bin</code>目录下</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@9f04e91115ea7ddbb032a2a2f4c249fb8b1c6189/2021/03/11/64aefdf1bcda842f28af3950a7ae1700.png"></p>
<ul>
<li>可以根据电脑系统的位数，选择 32 位的 VM 配置文件或者 64 位的 VM 配置文件</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@9eb61be041328aeb547ccdc5cf651500910c3373/2021/03/11/11355df98ee2e16baa103cf4633c6926.png"></p>
<ul>
<li>32 位操作系统内存不会超过 4G，所以没有多大空间可以调整，建议不用调整了</li>
<li>64 位操作系统中 8G 内存以下的机子或是静态页面开发者是无需修改的</li>
<li>64 位操作系统且内存大于 8G 的，如果你是开发大型项目、Java 项目或是 Android 项目，建议进行修改，常修改的就是下面 3 个参数：</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@e4cfd2849eed7743c1a6bd0d0c794be0a69bae71/2021/03/11/38585694736baf19cc49bfbab9b1f96e.png"></p>
<h2 id="查看设置目录结构"><a href="#查看设置目录结构" class="headerlink" title="查看设置目录结构"></a>查看设置目录结构</h2><ul>
<li>在目录<code>C:\Users\(主机名)朕爷专属pro\.IntelliJIdea2018.2</code>下</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@7e5788cdd4d942c043860d337c526ffb2df08e25/2021/03/11/84841653ee37a874ca012244ece2bbb2.png"></p>
<ul>
<li><strong>这是 IDEA 的各种配置的保存目录</strong>。这个设置目录有一个特性，就是你删除掉整个目录之后，重新启动 IntelliJ IDEA 会再自动帮你生成一个全新的默认配置，所以很多时候如果你把 IntelliJ IDEA 配置改坏了，没关系，<strong>删掉该目录，一切都会还原到默认</strong></li>
<li><code>config</code> 目录是 <strong>IntelliJ IDEA 个性化化配置目录</strong>，或者说是整个 IDE 设置目录。此目录可看成是最重要的目录，没有之一，如果你还记得安装篇的介绍的时候，安装新版本的 IntelliJ IDEA 会自动扫描硬盘上的旧配置目录，指的就是该目录。这个目录主要记录了：IDE 主要配置功能、自定义的代码模板、自定义的文件模板、自定义的快捷键、Project 的 tasks 记录等等个性化的设置</li>
<li><code>system</code> 目录是 <strong>IntelliJ IDEA 系统文件目录</strong>，是 IntelliJ IDEA 与开发项目一个桥梁目录，里面主要有：<strong>缓存、索引、容器文件输出等等</strong>，虽然不是最重要目录，但也是最不可或缺的目录之一</li>
</ul>
<h1 id="启动后简单配置"><a href="#启动后简单配置" class="headerlink" title="启动后简单配置"></a>启动后简单配置</h1><h2 id="汉化教程"><a href="#汉化教程" class="headerlink" title="汉化教程"></a>汉化教程</h2><div class="note success simple"><p>参考👉<a target="_blank" rel="noopener" href="https://www.jianshu.com/p/ee2b38304cea">IntelliJ IDEA 2020.1官方汉化</a></p>
</div>

<ul>
<li>首先确认你所用IDEA版本, 如果<strong>小于2020.1版本</strong>可能无法使用官方汉化，其他版本可以去百度搜索语言包，放在<code>\lib</code>目录下</li>
<li>打开【setting】设置页面,，导航到【Editor】–&gt; 【Proofreading】, 点【+】添加中文包;</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@6f6520cc361dbb6d62c5875552cdce41f183898b/2021/03/15/4a67dad23d618b41fb567019e22e1b55.png"></p>
<ul>
<li>添加完不要关闭setting设置, 继续切到【Plugins】页面，安装汉化插件，重启后进入汉化idea.</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@ff8431fbb67278fb9d865994ca7b0b1a657b2ac3/2021/03/15/993684de5328a01e2fe5be9b773cea54.png"></p>
<h2 id="激活破解"><a href="#激活破解" class="headerlink" title="激活破解"></a>激活破解</h2><div class="note success simple"><p>参考👉<a target="_blank" rel="noopener" href="https://www.exception.site/essay/how-to-free-use-intellij-idea-2019-3">IntelliJ IDEA 2020.3.2激活破解教程</a> || <a target="_blank" rel="noopener" href="https://shimo.im/docs/gqQDrjPkwwctk3VJ/read">IDEA激活教程</a></p>
</div>

<ul>
<li>本教程适用于 JetBrains 全系列产品，包括 Pycharm、IDEA、WebStorm、Phpstorm、Datagrip、RubyMine、CLion、AppCode 等</li>
<li>安装后首次开启, 中间会先弹出一个注册框，我们勾选 <code>Evaluate for free</code>, 点击 <code>Evaluate</code>， 先试用30天:</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@55eec92301391985b263d27b13aa99afd83c3009/2021/03/15/95c95be6581377a55cc7846da7f8a660.png"></p>
<ul>
<li>破解补丁链接：&lt;<a target="_blank" rel="noopener" href="https://pan.baidu.com/s/1QS6X6ccPwtLk9sK10xHz0w">https://pan.baidu.com/s/1QS6X6ccPwtLk9sK10xHz0w</a> &gt; ， 提取码：`uc0m </li>
<li>下载解压，最好解压到一个固定位置，因为次文件不能删除，打开该文件夹后，有对应系统的执行脚本，执行即可：</li>
</ul>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">windows系统：reset_jetbrains_eval_windows.vbs</span><br><span class="line">linux&#x2F;mac系统：reset_jetbrains_eval_mac_linux.sh</span><br></pre></td></tr></table></figure>

<ul>
<li>进入 IDEA 中， 先随便建个 Java 工程， 然后将网盘中最新的 IDEA 破解补丁<code> BetterIntelliJ.zip</code>拖入 IDEA 界面中，如下图所示：</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@3d408e5797ca177a53ce7eb29baea9803a90b12d/2021/03/15/b5d8636455e70aab99ee60302ea4b424.png"></p>
<ul>
<li>重启后，复制网盘中的 激活补丁<code>key.txt</code>文件中的激活码，拷贝到输入框中，然后点击 <code>Activate</code> 按钮激活：</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@677c4c837f5c02516420887146f805bf0fd56d2f/2021/03/15/ecf148487aad256ff9c727ae2368bf58.png"></p>
<p>进入 IDEA 界面后，点击 【Help】 -&gt; 【Register】 查看，已经破解到2099年了</p>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@20ba653948ae7ac2fa44832c4897a70d818705dc/2021/03/15/84327ccd256b4900057eb68540e876f2.png"></p>
<h2 id="设置插件"><a href="#设置插件" class="headerlink" title="设置插件"></a>设置插件</h2><ul>
<li>IDEA插件官方下载地址：<a target="_blank" rel="noopener" href="https://plugins.jetbrains.com/idea">https://plugins.jetbrains.com/idea</a>，载压缩包之后，选择<code>install from disk</code></li>
<li>【File】 -&gt; 【Setting】 -&gt; 【Plugin】</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@1d929672968b35b3f748420febeb4d0674b117a1/2021/03/13/002df1bb6eec5893f0ee1d16bb3e7422.png"></p>
<table>
<thead>
<tr>
<th align="center">推荐插件</th>
<th align="center">说明</th>
</tr>
</thead>
<tbody><tr>
<td align="center"><code>Alibaba Java Coding Guidelines</code></td>
<td align="center">阿里Java编程规约插件</td>
</tr>
<tr>
<td align="center"><code>FindBugs</code></td>
<td align="center">代码缺陷扫描</td>
</tr>
<tr>
<td align="center"><code>PMD</code></td>
<td align="center">代码缺陷扫描</td>
</tr>
<tr>
<td align="center"><code>InnerBuilder</code></td>
<td align="center">builder模式快速生成</td>
</tr>
<tr>
<td align="center"><code>lombok plugin</code></td>
<td align="center">lombok 插件</td>
</tr>
<tr>
<td align="center"><code>maven helper</code></td>
<td align="center">maven 依赖管理助手 ，解析maven pom结构，分析冲突；</td>
</tr>
<tr>
<td align="center"><code>Rainbow brackets</code></td>
<td align="center">不同颜色的括号，让代码中的括号更具标识性</td>
</tr>
<tr>
<td align="center"><code>String Manipulation</code></td>
<td align="center">String相关辅助简化，搭配 CTRL+W 、ALT+J等文本选择快捷键使用</td>
</tr>
<tr>
<td align="center"><code>Translation</code></td>
<td align="center">翻译插件，阅读源码必备</td>
</tr>
<tr>
<td align="center"><code>GenerateSerialVersionUID</code></td>
<td align="center">Alt + Insert 快速生成SerialVersionUID</td>
</tr>
<tr>
<td align="center"><code>MyBatis Log Plugin</code></td>
<td align="center">把 Mybatis 输出的sql日志还原成完整的sql语句，看起来更直观</td>
</tr>
</tbody></table>
<h1 id="IDEA快捷键"><a href="#IDEA快捷键" class="headerlink" title="IDEA快捷键"></a>IDEA快捷键</h1><h2 id="查找相关"><a href="#查找相关" class="headerlink" title="查找相关"></a>查找相关</h2><table>
<thead>
<tr>
<th align="center">快捷键</th>
<th align="center">介绍</th>
</tr>
</thead>
<tbody><tr>
<td align="center"><code>Ctrl+ F</code></td>
<td align="center">在当前文件进行文本查找</td>
</tr>
<tr>
<td align="center"><code>Ctrl + R</code></td>
<td align="center">在当前文件进行文本替换</td>
</tr>
<tr>
<td align="center"><code>Ctrl + Shift + F</code></td>
<td align="center">在项目进行文本查找</td>
</tr>
<tr>
<td align="center"><code>Ctrl + Shift + R</code></td>
<td align="center">在项目进行文本替换</td>
</tr>
<tr>
<td align="center"><code>Shift + Shift</code></td>
<td align="center">快速搜索</td>
</tr>
<tr>
<td align="center"><code>Ctrl + N</code></td>
<td align="center">查找class</td>
</tr>
<tr>
<td align="center"><code>Ctrl + Shift + N</code></td>
<td align="center">查找文件</td>
</tr>
<tr>
<td align="center"><code>Ctrl+Shift+Alt+N</code></td>
<td align="center">查找symbol (查找某个方法名)</td>
</tr>
</tbody></table>
<h2 id="跳转切换"><a href="#跳转切换" class="headerlink" title="跳转切换"></a>跳转切换</h2><table>
<thead>
<tr>
<th align="center">快捷键</th>
<th align="center">介绍</th>
</tr>
</thead>
<tbody><tr>
<td align="center"><code>Ctrl + E</code></td>
<td align="center">最近文件</td>
</tr>
<tr>
<td align="center"><code>Ctrl + Tab</code></td>
<td align="center">切换文件</td>
</tr>
<tr>
<td align="center"><code>CtrI+ Alt+←/→</code></td>
<td align="center">跳转历史光标所在处</td>
</tr>
<tr>
<td align="center"><code>Alt +←/→方向键</code></td>
<td align="center">切换子tab</td>
</tr>
<tr>
<td align="center"><code>CtrI+ G</code></td>
<td align="center">go to (跳转指定行号)</td>
</tr>
<tr>
<td align="center"><code>Ctrl + Shift + Enter</code></td>
<td align="center">快速换行到下一行，当光标不在代码尾部时很好用</td>
</tr>
</tbody></table>
<h2 id="编码相关"><a href="#编码相关" class="headerlink" title="编码相关"></a>编码相关</h2><table>
<thead>
<tr>
<th align="center">快捷键</th>
<th align="center">说明</th>
</tr>
</thead>
<tbody><tr>
<td align="center"><code>Ctrl+D</code></td>
<td align="center">快速复制粘贴到下一行</td>
</tr>
<tr>
<td align="center"><code>Ctrl+Y</code></td>
<td align="center">快速删除选中代码行</td>
</tr>
<tr>
<td align="center"><code>AIt+Enter</code></td>
<td align="center">根据光标所在位置，提供快速修改，比如导包和类</td>
</tr>
<tr>
<td align="center"><code>Shift+[Fn]+F6</code></td>
<td align="center">快速重命名类、方法等</td>
</tr>
<tr>
<td align="center"><code>Ctrl+/</code></td>
<td align="center">单行注释</td>
</tr>
<tr>
<td align="center"><code>Ctrl+AIt+T</code></td>
<td align="center">表示用代码块包裹选中的代码，比如try…catch</td>
</tr>
<tr>
<td align="center"><code>Ctrl+Z</code></td>
<td align="center">回退</td>
</tr>
<tr>
<td align="center"><code>AIt+Insert(F12)</code></td>
<td align="center">快速生成getter和setter方法</td>
</tr>
<tr>
<td align="center"><code>Ctrl+Shift+/</code></td>
<td align="center">多行注释选中代码块</td>
</tr>
<tr>
<td align="center"><code>Ctrl+Shift+空格</code></td>
<td align="center">新建类时在new后面使用(提示自动创建类)</td>
</tr>
<tr>
<td align="center"><code>Ctrl+AIt+B</code></td>
<td align="center">查看接口或者抽象类的子类</td>
</tr>
<tr>
<td align="center"><code>Ctrl+Shift+L</code></td>
<td align="center">格式化代码</td>
</tr>
<tr>
<td align="center"><code>Ctrl+Alt+V</code></td>
<td align="center">快速生成变量名</td>
</tr>
</tbody></table>
<h2 id="代码阅读相关"><a href="#代码阅读相关" class="headerlink" title="代码阅读相关"></a>代码阅读相关</h2><table>
<thead>
<tr>
<th align="center">快捷键</th>
<th align="center">介绍</th>
</tr>
</thead>
<tbody><tr>
<td align="center"><code>Ctrl + P</code></td>
<td align="center">方法参数提示显示</td>
</tr>
<tr>
<td align="center"><code>Ctrl + Shift + i</code></td>
<td align="center">就可以在当前类里再弹出一一个窗口出来</td>
</tr>
<tr>
<td align="center"><code>Alt + F7</code></td>
<td align="center">可以列出变量在哪些地方被使用了</td>
</tr>
<tr>
<td align="center"><code>光标在子类接口名，Ctrl+ u</code></td>
<td align="center">跳到父类接口</td>
</tr>
<tr>
<td align="center"><code>(Shift) + Ctrl + +/-</code></td>
<td align="center">代码块折叠</td>
</tr>
<tr>
<td align="center"><code>CtrI + Shift+←/→</code></td>
<td align="center">移动窗口分割线</td>
</tr>
<tr>
<td align="center"><code>Ctrl+ (Alt) + B</code></td>
<td align="center">跳转方法定义/实现</td>
</tr>
<tr>
<td align="center"><code>CtrI + H</code></td>
<td align="center">类的层级关系</td>
</tr>
<tr>
<td align="center"><code>CtrI + F12</code></td>
<td align="center">Show Members类成员快速显示</td>
</tr>
</tbody></table>
<h2 id="快速生成代码"><a href="#快速生成代码" class="headerlink" title="快速生成代码"></a>快速生成代码</h2><table>
<thead>
<tr>
<th align="center">缩写</th>
<th align="center">说明</th>
</tr>
</thead>
<tbody><tr>
<td align="center"><code>psvm</code></td>
<td align="center">快速生成main函数</td>
</tr>
<tr>
<td align="center"><code>sout</code></td>
<td align="center">快速生成输出语句</td>
</tr>
<tr>
<td align="center"><code>fori</code></td>
<td align="center">快速生成for循环结构</td>
</tr>
<tr>
<td align="center"><code>x.for</code></td>
<td align="center">快速生成增强for结构</td>
</tr>
</tbody></table>
<div class="note success simple"><p>说明：在 IDEA 里要说的是，写完代码，不用点击保存。IDEA 会自动保存代码。</p>
</div>

<ul>
<li>IDEA可以集成了Eclipse的快捷键，可以在【设置】【快捷键】里修改</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@0e50bd1094777d1ec0f269d2f890e823fc93d3bb/2021/03/13/adb6264d02b9baf15441d42b032d0481.png"></p>
<h1 id="代码模板"><a href="#代码模板" class="headerlink" title="代码模板"></a>代码模板</h1><h2 id="代码模板-1"><a href="#代码模板-1" class="headerlink" title="代码模板"></a>代码模板</h2><ul>
<li>在Eclipse中输入<code>syso</code>便可以快速生成输出语句，我们可以通过<strong>自定义代码模块</strong>，来自定义快速代码生成</li>
<li>【设置】【编辑器】【代码模板】，先创建分组【Template Group】，然后再在分组下创建模板【Live Template】</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@00a20791c5048284772de769b4df6aed3f65f436/2021/03/13/0ca0b2b2dcc102e25638f8cc3f66afb2.png"></p>
<ul>
<li>编辑模板内容并选择应用的语言</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@b28bfa7f617ba4743e3ce4d4a3581f926532a238/2021/03/13/a8f66d30944b15fc98a2903298f17317.png"></p>
<h2 id="注释模板"><a href="#注释模板" class="headerlink" title="注释模板"></a>注释模板</h2><ul>
<li>【设置】【编辑器】【文件和代码模板】，可以选择对应的模板进行修改</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@53ebdb7948811a3c6b1bc1064094862d0856c397/2021/03/13/e72c8e4acdd65ca8091147aa5de733b4.png"></p>
<h2 id="类注释模板"><a href="#类注释模板" class="headerlink" title="类注释模板"></a>类注释模板</h2><ul>
<li>【设置】【编辑器】【文件和代码模板】【包含】，选择<code>File Header</code>进行修改</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@51528242b057057c65e02984defd8216dda836b6/2021/03/13/2485f8886bf950c629e4e50169acc9a3.png"></p>
<ul>
<li>修改如下</li>
</ul>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">&#x2F;**</span><br><span class="line"> * @Auther: http:&#x2F;&#x2F;xiaoliblog.cn</span><br><span class="line"> * @Date: $&#123;DATE&#125;</span><br><span class="line"> * @Description: $&#123;PACKAGE_NAME&#125;</span><br><span class="line"> * @version: 1.0</span><br><span class="line"> *&#x2F;</span><br></pre></td></tr></table></figure>

<ul>
<li>设置后，新建一个类class，就会自动生成注释</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@75b5a27ad81bd7818a77dfaaabd8867436332b94/2021/03/13/8a58b6799d4b9446105c422e0574e26d.png"></p>
<h2 id="方法注释模板"><a href="#方法注释模板" class="headerlink" title="方法注释模板"></a>方法注释模板</h2><ul>
<li>【设置】【编辑器】【代码模板】，新建一个代码模板，缩写为<code>/**</code>，模板文本如下</li>
</ul>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">&#x2F;**</span><br><span class="line"> * 功能描述</span><br><span class="line"> * @param: $param$</span><br><span class="line"> * @return: $return$</span><br><span class="line"> * @auther: $user$</span><br><span class="line"> * @date: $date$$time$</span><br><span class="line"> *&#x2F;</span><br></pre></td></tr></table></figure>

<ul>
<li>设置好模板内容后，再选择语言</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@276e2f0aeaacde6520dbc40f74883ec793b7da93/2021/03/13/58b81ce83ae3bcf42840318604643a04.png"></p>
<ul>
<li>触发：<code>/**+Tab</code>，然后就可以自定义内容</li>
</ul>
<p><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@ac08aabfa1474667e56722375e76e6e5b56232ba/2021/03/13/b264f916d30da630a3b3bde42c3b3342.png"></p>
</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="mailto:undefined">小李博客</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="https://xiaoliblog.cn">https://xiaoliblog.cn</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="http://xiaoliblog.cn" target="_blank">小李博客</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/IntelliJ-IDEA/">IntelliJ IDEA</a></div><div class="post_share"><div class="social-share" data-image="https://cdn.jsdelivr.net/gh/xiaoliblog/image@d94fb87b2ae7e29ffade657a1c1c59e207cd818f/2021/03/08/92b74a95896922b1eed052eb3f7dfbbb.png" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/social-share.js/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/social-share.js/dist/js/social-share.min.js" defer></script></div></div><div class="post-reward"><div class="reward-button button--animated"><i class="fas fa-qrcode"></i> 打赏</div><div class="reward-main"><ul class="reward-all"><li class="reward-item"><a href="/img/wechat.png" target="_blank"><img class="post-qr-code-img" src="/img/wechat.png" alt="微信"/></a><div class="post-qr-code-desc">微信</div></li><li class="reward-item"><a href="/img/alipay.png" target="_blank"><img class="post-qr-code-img" src="/img/alipay.png" alt="支付宝"/></a><div class="post-qr-code-desc">支付宝</div></li></ul></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/page/idea02.html"><img class="prev-cover" src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@d94fb87b2ae7e29ffade657a1c1c59e207cd818f/2021/03/08/92b74a95896922b1eed052eb3f7dfbbb.png" onerror="onerror=null;src='https://cdn.jsdelivr.net/gh/lzyblog/image@main/2020/11/19/bd16b394f7359083b1f6072a67e3f968.png'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">IntelliJ IDEA🍊项目创建及配置</div></div></a></div><div class="next-post pull-right"><a href="/page/Nodejs04.html"><img class="next-cover" src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@2895ba074157927269b720f768c7eec8f888ef00/2021/02/27/f47a38e40ee25200927537ff8a913bfc.png" onerror="onerror=null;src='https://cdn.jsdelivr.net/gh/lzyblog/image@main/2020/11/19/bd16b394f7359083b1f6072a67e3f968.png'" alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">Node.js🚀操作MySQL数据库</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span> 相关推荐</span></div><div class="relatedPosts-list"><div><a href="/page/idea02.html" title="IntelliJ IDEA🍊项目创建及配置"><img class="cover" src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@d94fb87b2ae7e29ffade657a1c1c59e207cd818f/2021/03/08/92b74a95896922b1eed052eb3f7dfbbb.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-03-03</div><div class="title">IntelliJ IDEA🍊项目创建及配置</div></div></a></div></div></div><hr/><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i><span> 评论</span></div></div><div class="comment-wrap"><div><div id="twikoo-wrap"></div></div></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="card-info-avatar is-center"><img class="avatar-img" src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@6b5e7ef72be1c8973d94e5a9c49accbf775ad820/2021/02/01/c485da031fe0e464d04eaba8a66c4a8f.png" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/><div class="author-info__name">小李博客</div><div class="author-info__description">越努力，越幸运！</div></div><div class="card-info-data"><div class="card-info-data-item is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">210</div></a></div><div class="card-info-data-item is-center"><a href="/tags/"><div class="headline">标签</div><div class="length-num">38</div></a></div><div class="card-info-data-item is-center"><a href="/categories/"><div class="headline">分类</div><div class="length-num">56</div></a></div></div><a class="button--animated" id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/xiaoliblog"><i class="fab fa-github"></i><span>博主的GitHub首页</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://gitee.com/xiaoliblog" target="_blank" title="Gitee"><i class="iconfont icon-gitee card_icon_gitee"></i></a><a class="social-icon" href="https://space.bilibili.com/390969485" target="_blank" title="BiliBili"><i class="iconfont icon-bilibili card_icon_bilibili"></i></a><a class="social-icon" href="http://wpa.qq.com/msgrd?v=3&amp;uin=2312057536&amp;site=CSDN&amp;menu=yes" target="_blank" title="QQ"><i class="iconfont icon-qq card_icon_qq"></i></a><a class="social-icon" href="https://github.com/xiaoliblog" target="_blank" title="GitHub"><i class="iconfont icon-git card_icon_git"></i></a><a class="social-icon" href="https://blog.csdn.net/qq_43266250?spm=1010.2135.3001.5113" target="_blank" title="CSDN"><i class="iconfont icon-csdn card_icon_csdn"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn card-announcement-animation"></i><span>公告</span></div><div class="announcement_content">正在考研备考中💦</div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#IntelliJ-IDEA%E4%BB%8B%E7%BB%8D"><span class="toc-number">1.</span> <span class="toc-text">IntelliJ IDEA介绍</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#IntelliJ-IDEA%E4%B8%8B%E8%BD%BD%E5%AE%89%E8%A3%85"><span class="toc-number">2.</span> <span class="toc-text">IntelliJ IDEA下载安装</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84"><span class="toc-number">3.</span> <span class="toc-text">目录结构</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#bin%E7%9B%AE%E5%BD%95%E5%8F%8AVM%E9%85%8D%E7%BD%AE"><span class="toc-number">3.1.</span> <span class="toc-text">bin目录及VM配置</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E6%9F%A5%E7%9C%8B%E8%AE%BE%E7%BD%AE%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84"><span class="toc-number">3.2.</span> <span class="toc-text">查看设置目录结构</span></a></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%90%AF%E5%8A%A8%E5%90%8E%E7%AE%80%E5%8D%95%E9%85%8D%E7%BD%AE"><span class="toc-number">4.</span> <span class="toc-text">启动后简单配置</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#%E6%B1%89%E5%8C%96%E6%95%99%E7%A8%8B"><span class="toc-number">4.1.</span> <span class="toc-text">汉化教程</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E6%BF%80%E6%B4%BB%E7%A0%B4%E8%A7%A3"><span class="toc-number">4.2.</span> <span class="toc-text">激活破解</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E8%AE%BE%E7%BD%AE%E6%8F%92%E4%BB%B6"><span class="toc-number">4.3.</span> <span class="toc-text">设置插件</span></a></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#IDEA%E5%BF%AB%E6%8D%B7%E9%94%AE"><span class="toc-number">5.</span> <span class="toc-text">IDEA快捷键</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#%E6%9F%A5%E6%89%BE%E7%9B%B8%E5%85%B3"><span class="toc-number">5.1.</span> <span class="toc-text">查找相关</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E8%B7%B3%E8%BD%AC%E5%88%87%E6%8D%A2"><span class="toc-number">5.2.</span> <span class="toc-text">跳转切换</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E7%BC%96%E7%A0%81%E7%9B%B8%E5%85%B3"><span class="toc-number">5.3.</span> <span class="toc-text">编码相关</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E4%BB%A3%E7%A0%81%E9%98%85%E8%AF%BB%E7%9B%B8%E5%85%B3"><span class="toc-number">5.4.</span> <span class="toc-text">代码阅读相关</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%BF%AB%E9%80%9F%E7%94%9F%E6%88%90%E4%BB%A3%E7%A0%81"><span class="toc-number">5.5.</span> <span class="toc-text">快速生成代码</span></a></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E4%BB%A3%E7%A0%81%E6%A8%A1%E6%9D%BF"><span class="toc-number">6.</span> <span class="toc-text">代码模板</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#%E4%BB%A3%E7%A0%81%E6%A8%A1%E6%9D%BF-1"><span class="toc-number">6.1.</span> <span class="toc-text">代码模板</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E6%B3%A8%E9%87%8A%E6%A8%A1%E6%9D%BF"><span class="toc-number">6.2.</span> <span class="toc-text">注释模板</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E7%B1%BB%E6%B3%A8%E9%87%8A%E6%A8%A1%E6%9D%BF"><span class="toc-number">6.3.</span> <span class="toc-text">类注释模板</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E6%96%B9%E6%B3%95%E6%B3%A8%E9%87%8A%E6%A8%A1%E6%9D%BF"><span class="toc-number">6.4.</span> <span class="toc-text">方法注释模板</span></a></li></ol></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/page/project01.html" title="前端实例🥳响应式网站首页"><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@c19917500ab083c77c7613263ba7ee74d5a08ae6/2021/04/30/469f30b141d73fa0fc4c962662d5813f.png" onerror="this.onerror=null;this.src='https://cdn.jsdelivr.net/gh/lzyblog/image@main/2020/11/19/bd16b394f7359083b1f6072a67e3f968.png'" alt="前端实例🥳响应式网站首页"/></a><div class="content"><a class="title" href="/page/project01.html" title="前端实例🥳响应式网站首页">前端实例🥳响应式网站首页</a><time datetime="2021-04-30T11:50:53.094Z" title="发表于 2021-04-30 19:50:53">2021-04-30</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/page/WeChatpay.html" title="微信支付对接"><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@f2f670b92ea149650ffa7834354fc90284f2f44a/2021/04/29/5bdc9b381a06193d27cf2fb7c2fb608a.png" onerror="this.onerror=null;this.src='https://cdn.jsdelivr.net/gh/lzyblog/image@main/2020/11/19/bd16b394f7359083b1f6072a67e3f968.png'" alt="微信支付对接"/></a><div class="content"><a class="title" href="/page/WeChatpay.html" title="微信支付对接">微信支付对接</a><time datetime="2021-04-29T12:20:48.070Z" title="发表于 2021-04-29 20:20:48">2021-04-29</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/page/Alipay.html" title="支付宝支付对接"><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@61a9b6a6e09e4bda38bb08e3104b717885beaee5/2021/04/29/c3fa51f9cf14e90d9e5a7aa8814dd041.png" onerror="this.onerror=null;this.src='https://cdn.jsdelivr.net/gh/lzyblog/image@main/2020/11/19/bd16b394f7359083b1f6072a67e3f968.png'" alt="支付宝支付对接"/></a><div class="content"><a class="title" href="/page/Alipay.html" title="支付宝支付对接">支付宝支付对接</a><time datetime="2021-04-27T16:00:00.000Z" title="发表于 2021-04-28 00:00:00">2021-04-28</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/page/Vuejs11.html" title="Vue.js前端框架🎯Pagination+PageHelper实现分页"><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@61bf4245f6d84d2d0f66d163b89c916788cc1845/2021/04/13/ec6b232f8fe5a840e4bd8c3eabcf49b2.png" onerror="this.onerror=null;this.src='https://cdn.jsdelivr.net/gh/lzyblog/image@main/2020/11/19/bd16b394f7359083b1f6072a67e3f968.png'" alt="Vue.js前端框架🎯Pagination+PageHelper实现分页"/></a><div class="content"><a class="title" href="/page/Vuejs11.html" title="Vue.js前端框架🎯Pagination+PageHelper实现分页">Vue.js前端框架🎯Pagination+PageHelper实现分页</a><time datetime="2021-04-26T14:48:39.701Z" title="发表于 2021-04-26 22:48:39">2021-04-26</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/page/Vuejs10.html" title="Vue.js前端框架🎯Vue-Element-admin模版"><img src="https://cdn.jsdelivr.net/gh/xiaoliblog/image@61bf4245f6d84d2d0f66d163b89c916788cc1845/2021/04/13/ec6b232f8fe5a840e4bd8c3eabcf49b2.png" onerror="this.onerror=null;this.src='https://cdn.jsdelivr.net/gh/lzyblog/image@main/2020/11/19/bd16b394f7359083b1f6072a67e3f968.png'" alt="Vue.js前端框架🎯Vue-Element-admin模版"/></a><div class="content"><a class="title" href="/page/Vuejs10.html" title="Vue.js前端框架🎯Vue-Element-admin模版">Vue.js前端框架🎯Vue-Element-admin模版</a><time datetime="2021-04-19T16:00:00.000Z" title="发表于 2021-04-20 00:00:00">2021-04-20</time></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2021 By 小李博客</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">🎯Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">🎉Butterfly</a></div><div class="footer_custom_text"><span><a style="margin-inline:5px" target="_blank" href="https://hexo.io/"><img src="https://img.shields.io/badge/Frame-Hexo-blue?style=flat&logo=hexo" title="博客框架为Hexo"></a><a style="margin-inline:5px" target="_blank" href="https://butterfly.js.org/"><img src="https://img.shields.io/badge/Theme-Butterfly-6513df?style=flat&logo=bitdefender" title="主题采用butterfly"></a><a style="margin-inline:5px" target="_blank" href="https://www.jsdelivr.com/"><img src="https://img.shields.io/badge/CDN-jsDelivr-orange?style=flat&logo=jsDelivr" title="本站使用JsDelivr为静态资源提供CDN加速"></a><a style="margin-inline:5px" target="_blank" href="https://vercel.com/ "><img src="https://img.shields.io/badge/Hosted-Vercel-brightgreen?style=flat&logo=Vercel" title="本站采用双线部署，默认线路托管于Vercel"></a><a style="margin-inline:5px" target="_blank" href="https://coding.net/ "><img src="https://img.shields.io/badge/Hosted-Coding-0cedbe?style=flat&logo=Codio" title="本站采用双线部署，联通线路托管于Coding"></a><a style="margin-inline:5px" target="_blank" href="https://github.com/"><img src="https://img.shields.io/badge/Source-Github-d021d6?style=flat&logo=GitHub" title="本站项目由Gtihub托管"></a><a style="margin-inline:5px" target="_blank" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img src="https://img.shields.io/badge/Copyright-BY--NC--SA%204.0-d42328?style=flat&logo=Claris" title="本站采用知识共享署名-非商业性使用-相同方式共享4.0国际许可协议进行许可"></a></span></div><div class="icp"><a target="_blank" rel="noopener" href="https://beian.miit.gov.cn/"><img class="icp-icon" src="/img/icp.png" alt="ICP"/><span>湘ICP备2021002541号</span></a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="font-plus" type="button" title="放大字体"><i class="fas fa-plus"></i></button><button id="font-minus" type="button" title="缩小字体"><i class="fas fa-minus"></i></button><button id="translateLink" type="button" title="简繁转换">繁</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><button id="chat_btn" type="button" title="rightside.chat_btn"><i class="fas fa-sms"></i></button><a id="to_comment" href="#post-comment" title="直达评论"><i class="fas fa-comments"></i></a><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div id="algolia-search"><div class="search-dialog"><div class="search-dialog__title" id="algolia-search-title">Algolia</div><div id="algolia-input-panel"><div id="algolia-search-input"></div></div><hr/><div id="algolia-search-results"><div id="algolia-hits"></div><div id="algolia-pagination"></div><div id="algolia-stats"></div></div><span class="search-close-button"><i class="fas fa-times"></i></span></div><div id="search-mask"></div></div><div><script src="/js/utils.js"></script><script src="https://cdn.jsdelivr.net/npm/vue@2.6.11"></script><script src="/js/main.js"></script><script defer src="/js/tw_cn.js"></script><script defer src="https://cdn.jsdelivr.net/npm/medium-zoom/dist/medium-zoom.min.js"></script><script src="https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js" type="module" defer></script><script defer src="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js"></script><script defer src="/js/search/algolia.js"></script><div class="js-pjax"><script>if (!window.MathJax) {
  window.MathJax = {
    loader: {
      source: {
        '[tex]/amsCd': '[tex]/amscd'
      }
    },
    tex: {
      inlineMath: [ ['$','$'], ["\\(","\\)"]],
      tags: 'ams'
    },
    options: {
      renderActions: {
        findScript: [10, doc => {
          for (const node of document.querySelectorAll('script[type^="math/tex"]')) {
            const display = !!node.type.match(/; *mode=display/)
            const math = new doc.options.MathItem(node.textContent, doc.inputJax[0], display)
            const text = document.createTextNode('')
            node.parentNode.replaceChild(text, node)
            math.start = {node: text, delim: '', n: 0}
            math.end = {node: text, delim: '', n: 0}
            doc.math.push(math)
          }
        }, ''],
        addClass: [200,() => {
          document.querySelectorAll('mjx-container:not([display=\'true\']').forEach( node => {
            const target = node.parentNode
            if (!target.classList.contains('has-jax')) {
              target.classList.add('mathjax-overflow')
            }
          })
        }, '', false]
      }
    }
  }
  
  const script = document.createElement('script')
  script.src = 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js'
  script.id = 'MathJax-script'
  script.async = true
  document.head.appendChild(script)
} else {
  MathJax.startup.document.state(0)
  MathJax.texReset()
  MathJax.typeset()
}</script><script>if (document.getElementsByClassName('mermaid').length) {
  if (window.mermaidJsLoad) mermaid.init()
  else {
    getScript('https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js').then(() => {
      window.mermaidJsLoad = true
      mermaid.initialize({
        theme: 'default',
      })
      false && mermaid.init()
    })
  }
}</script><script>(()=>{
  const $countDom = document.getElementById('twikoo-count')
  const init = () => {
    twikoo.init(Object.assign({
      el: '#twikoo-wrap',
      envId: 'xiaoliblog-8gj3j5045d5b0896',
      region: ''
    }, null))
  }

  const getCount = () => {
    twikoo.getCommentsCount({
      envId: 'xiaoliblog-8gj3j5045d5b0896',
      region: '',
      urls: [window.location.pathname],
      includeReply: false
    }).then(function (res) {
      $countDom.innerText = res[0].count
    }).catch(function (err) {
      console.error(err);
    });
  }

  const loadTwikoo = (bool = false) => {
    if (typeof twikoo === 'object') {
      init()
      bool && $countDom && setTimeout(getCount,0)
    } else {
      getScript('https://cdn.jsdelivr.net/npm/twikoo@1.3.0/dist/twikoo.all.min.js').then(()=> {
        init()
        bool && $countDom && setTimeout(getCount,0)
      })
    }
  }

  if ('Twikoo' === 'Twikoo' || !true) {
    if (true) btf.loadComment(document.getElementById('twikoo-wrap'), loadTwikoo)
    else loadTwikoo(true)
  } else {
    window.loadOtherComment = () => {
      loadTwikoo()
    }
  }
})()</script></div><script defer src="//lib.baomitu.com/jquery/3.5.1/jquery.min.js"></script><script defer src="https://myhkw.cn/api/player/160561664166" id="myhk" key="160561664166" m="1"></script><div><canvas id="snow" style="position:fixed;top:0;left:0;width:100%;height:100%;z-index:99999;pointer-events:none"></canvas></div><script>const notMobile = (!(navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)));</script><scrip async type="text/javascript" src="https://cdn.jsdelivr.net/gh/Candinya/Kratos-Rebirth@latest/source/js/snow.min.js"></scrip><scrip defer src="https://cdn.jsdelivr.net/npm/hexo-theme-volantis@latest/source/js/issues.min.js"></scrip><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><script>var gitcalendar = new Vue({
  el: '#gitcalendar',
  data: {
    simplemode: true, 
    user: 'xiaoliblog',
    fixed: 'fixed',
    px: 'px',
    x: '',
    y: '',
    span1: '',
    span2: '',
    month: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
    monthchange: [],
    oneyearbeforeday: '',
    thisday: '',
    amonthago: '',
    aweekago: '',
    weekdatacore: 0,
    datacore: 0,
    total: 0,
    datadate: '',
    data: [],
    positionplusdata: [],
    firstweek: [],
    lastweek: [],
    beforeweek: [],
    thisweekdatacore: 0,
    mounthbeforeday: 0,
    mounthfirstindex: 0,
    crispedges: 'crispedges',
    thisdayindex: 0,
    amonthagoindex: 0,
    amonthagoweek: [],
    firstdate: [],
    first2date: [],
    montharrbefore: [],
    monthindex: 0,
    color: ['#ebedf0', '#f1f8ff', '#dbedff', '#c8e1ff', '#79b8ff', '#2188ff', '#0366d6', '#005cc5', '#044289', '#032f62', '#05264c']
  },
  methods: {
    selectStyle(data, event) {
      document.querySelector('.angle-wrapper').style.display = 'block'
      this.span1 = data.date;
      this.span2 = data.count;
      this.x = event.clientX - 100;
      this.y = event.clientY - 60
    },
    outStyle() {
      document.querySelector('.angle-wrapper').style.display = 'none'
    },
    thiscolor(x) {
      if (x === 0) {
        let i = parseInt(x / 2);
        return this.color[0]
      } else if (x < 2) {
        return this.color[1]
      } else if (x < 20) {
        let i = parseInt(x / 2);
        return this.color[i]
      } else {
        return this.color[9]
      }
    },
  }
});
var apiurl = 'python-github-calendar-api-ruby.vercel.app' ? 'https://python-github-calendar-api-ruby.vercel.app/api?' : 'https://githubapi.ryanchristian.dev/user/'
var githubapiurl = apiurl + gitcalendar.user;
//canvas绘图
function responsiveChart() {
  let c = document.getElementById("gitcanvas");
  if (c) {
    let cmessage = document.getElementById("gitmessage");
    let ctx = c.getContext("2d");
    c.width = document.getElementById("gitcalendarcanvasbox").offsetWidth;
    let linemaxwitdh = 0.96 * c.width / gitcalendar.data.length;
    c.height = 9 * linemaxwitdh;
    let lineminwitdh = 0.8 * linemaxwitdh;
    let setposition = {
      x: 0.02 * c.width,
      y: 0.025 * c.width
    };
    for (let week in gitcalendar.data) {
      weekdata = gitcalendar.data[week];
      for (let day in weekdata) {
        let dataitem = {
          date: "",
          count: "",
          x: 0,
          y: 0
        };
        gitcalendar.positionplusdata.push(dataitem);
        ctx.fillStyle = gitcalendar.thiscolor(weekdata[day].count);
        setposition.y = Math.round(setposition.y * 100) / 100;
        dataitem.date = weekdata[day].date;
        dataitem.count = weekdata[day].count;
        dataitem.x = setposition.x;
        dataitem.y = setposition.y;
        ctx.fillRect(setposition.x, setposition.y, lineminwitdh, lineminwitdh);
        setposition.y = setposition.y + linemaxwitdh
      };
      setposition.y = 0.025 * c.width;
      setposition.x = setposition.x + linemaxwitdh
    };
    ctx.font = "600  Arial";
    ctx.fillStyle = '#aaa';
    ctx.fillText("日", 0, 1.9 * linemaxwitdh);
    ctx.fillText("二", 0, 3.9 * linemaxwitdh);
    ctx.fillText("四", 0, 5.9 * linemaxwitdh);
    ctx.fillText("六", 0, 7.9 * linemaxwitdh);
    let monthindexlist = c.width / 24;
    for (let index in gitcalendar.monthchange) {
      ctx.fillText(gitcalendar.monthchange[index], monthindexlist, 0.7 * linemaxwitdh);
      monthindexlist = monthindexlist + c.width / 12
    };
    cmessage.onmousemove = function(event) {
      document.querySelector('.angle-wrapper').style.display = 'none'
    };
    c.onmousemove = function(event) {
      document.querySelector('.angle-wrapper').style.display = 'none'
      getMousePos(c, event);
    };

    function getMousePos(canvas, event) {
      var rect = canvas.getBoundingClientRect();
      var x = event.clientX - rect.left * (canvas.width / rect.width);
      var y = event.clientY - rect.top * (canvas.height / rect.height);
      //console.log("x:"+x+",y:"+y);
      for (let item of gitcalendar.positionplusdata) {
        let lenthx = x - item.x;
        let lenthy = y - item.y;
        //console.log(lenthx,lenthy);
        if (0 < lenthx && lenthx < lineminwitdh) {
          if (0 < lenthy && lenthy < lineminwitdh) {
            //console.log(item.date,item.count)
            document.querySelector('.angle-wrapper').style.display = 'block'
            gitcalendar.span1 = item.date;
            gitcalendar.span2 = item.count;
            gitcalendar.x = event.clientX - 100;
            gitcalendar.y = event.clientY - 60
          }
        }
        //if(0< x - item.x <lineminwitdh&&0< y - item.y <lineminwitdh){
        //console.log(item.count,item.date);
        //}
      }
    }
  }
}
//数据统计算法
function addlastmonth() {
  if (gitcalendar.thisdayindex === 0) {
    thisweekcore(52);
    thisweekcore(51);
    thisweekcore(50);
    thisweekcore(49);
    thisweekcore(48);
    gitcalendar.thisweekdatacore += gitcalendar.firstdate[6].count;
    gitcalendar.amonthago = gitcalendar.firstdate[6].date
  } else {
    thisweekcore(52);
    thisweekcore(51);
    thisweekcore(50);
    thisweekcore(49);
    thisweek2core();
    gitcalendar.amonthago = gitcalendar.first2date[gitcalendar.thisdayindex - 1].date
  }
};

function thisweek2core() {
  for (let i = gitcalendar.thisdayindex - 1; i < gitcalendar.first2date.length; i++) {
    gitcalendar.thisweekdatacore += gitcalendar.first2date[i].count
  }
};

function thisweekcore(index) {
  for (let item of gitcalendar.data[index]) {
    gitcalendar.thisweekdatacore += item.count
  }
};

function addlastweek() {
  for (let item of gitcalendar.lastweek) {
    gitcalendar.weekdatacore += item.count
  }
};

function addbeforeweek() {
  for (let i = gitcalendar.thisdayindex; i < gitcalendar.beforeweek.length; i++) {
    gitcalendar.weekdatacore += gitcalendar.beforeweek[i].count
  }
};

function addweek(data) {
  if (gitcalendar.thisdayindex === 6) {
    gitcalendar.aweekago = gitcalendar.lastweek[0].date;
    addlastweek()
  } else {
    lastweek = data.contributions[51];
    gitcalendar.aweekago = lastweek[gitcalendar.thisdayindex + 1].date;
    addlastweek();
    addbeforeweek()
  }
}

fetch(githubapiurl)
  .then(data => data.json())
  .then(data => {
    gitcalendar.data = data.contributions;
    gitcalendar.total = data.total;
    gitcalendar.first2date = gitcalendar.data[48];
    gitcalendar.firstdate = gitcalendar.data[47];
    gitcalendar.firstweek = data.contributions[0];
    gitcalendar.lastweek = data.contributions[52];
    gitcalendar.beforeweek = data.contributions[51];
    gitcalendar.thisdayindex = gitcalendar.lastweek.length - 1;
    gitcalendar.thisday = gitcalendar.lastweek[gitcalendar.thisdayindex].date;
    gitcalendar.oneyearbeforeday = gitcalendar.firstweek[0].date;
    gitcalendar.monthindex = gitcalendar.thisday.substring(5, 7) * 1;
    gitcalendar.montharrbefore = gitcalendar.month.splice(gitcalendar.monthindex, 12 - gitcalendar.monthindex);
    gitcalendar.monthchange = gitcalendar.montharrbefore.concat(gitcalendar.month);
    addweek(data);
    addlastmonth();
    responsiveChart();
  })
  .catch(function(error) {
    console.log(error);
  });

//手机版更换为svg绘制
if (document.getElementById("gitcalendarcanvasbox").offsetWidth < 500) {
  gitcalendar.simplemode = false
}

//当改变窗口大小时重新绘制canvas
window.onresize = function() {
  if (gitcalendar.simplemode) responsiveChart()
}

//解决滚动滑轮时出现的标签显示
window.onscroll = function() {
  if (document.querySelector('.angle-wrapper')) {
    document.querySelector('.angle-wrapper').style.display = 'none'
  }
};</script></div><script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"log":false,"model":{"jsonPath":"/live2dw/assets/hijiki.model.json"},"display":{"position":"right","width":150,"height":300},"mobile":{"show":true},"react":{"opacity":0.7}});</script></body></html>